import { h } from 'vue';
import { NAvatar } from 'naive-ui';
import { BasicColumn } from '@/components/Table';
export interface ListData {
  name: string;
  avatar: string;
  address: string;
  beginTime: string;
  endTime: string;
  date: string;
}
export const columns: BasicColumn<ListData>[] = [
  {
    title: 'ID',
    key: 'id',
    width: 100,
  },
  {
    title: '单位名称',
    key: 'unit_name',
    
    width: 100,
  },
  {
    title: '车间名称',
    key: 'workshop_name',
    width: 100,
  },
  {
    title: '放置点',
    key: 'site',
    width: 100,
  },
  {
    title: '操作内容',
    key: 'memo',
    width: 100,
  },
  {
    title: '操作时间',
    key: 'createtime',
    width: 100,
  }
];
